﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="feeTemplateView.aspx.cs" Inherits="WEB.template.feeTemplateView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    费用模板
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center">
                查看货物：<asp:DropDownList ID="ddlGoods" AppendDataBoundItems="True" runat="server" AutoPostBack="True">
                    <asp:ListItem Value="0">所有</asp:ListItem>
                </asp:DropDownList>
                的费用模板
                <asp:CheckBox ID="cbR" runat="server" Text="应收模板" AutoPostBack="True" />
                <asp:CheckBox ID="cbP" runat="server" Text="应付模板" AutoPostBack="True" />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:GridView ID="gvFeeTemplate" runat="server" OnRowDataBound="gvFeeTemplate_RowDataBound"
                    DataKeyNames="ID" AutoGenerateColumns="False" BackColor="White" BorderColor="#DEDFDE"
                    BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical"
                    Width="900px" OnSelectedIndexChanging="gvFeeTemplate_SelectedIndexChanging" OnRowDeleting="gvFeeTemplate_RowDeleting">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="序号" InsertVisible="False">
                            <ItemStyle HorizontalAlign="Center" />
                            <HeaderStyle HorizontalAlign="Center" Width="5%" />
                            <ItemTemplate>
                                <%#Container.DataItemIndex+1%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="模板编号" DataField="ID" />
                        <asp:BoundField HeaderText="模板名称" DataField="templetName" />
                        <asp:BoundField HeaderText="货物类别" DataField="codeName" />
                        <asp:BoundField HeaderText="模板类别" DataField="typeName" />
                        <asp:BoundField HeaderText="货物ID" DataField="goodstype" />
                        <asp:BoundField HeaderText="类别ID" DataField="typeid" />
                        <%-- <asp:BoundField HeaderText ="备注"  DataField =""/>--%>
                        <asp:CommandField ShowSelectButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                        <asp:CommandField ShowDeleteButton="True">
                            <ControlStyle ForeColor="#0066FF" />
                        </asp:CommandField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                    <SortedAscendingCellStyle BackColor="#F8FAFA"></SortedAscendingCellStyle>
                    <SortedAscendingHeaderStyle BackColor="#246B61"></SortedAscendingHeaderStyle>
                    <SortedDescendingCellStyle BackColor="#D4DFE1"></SortedDescendingCellStyle>
                    <SortedDescendingHeaderStyle BackColor="#15524A"></SortedDescendingHeaderStyle>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnAdd" runat="server" Text="添加费用模板" CssClass="Submit_yellowbig"
                    OnClick="btnAdd_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
